-
Notifications
You must be signed in to change notification settings - Fork 251
refactor: restructure mcp tools fetching with options object pattern #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: restructure mcp tools fetching with options object pattern #296
Conversation
🦋 Changeset detectedLatest commit: ce7f89a The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
thanks for the options‑object updates, it’s definitely a nicer api going forward! I had some input on #164 that is referenced here. The original array‑only call to As such, I'm thinking something along the lines of :
Would you be open to restoring that legacy overload while keeping the new one? Happy to send a quick patch for this part. My quick thought here is that it would restore back‑compat, lets new callers use the options object (potentially the array form can be marked deprecated in a future PR) |
Hi, I've adjusted it. You see if it meets expectations |
Thanks for sending this pull request. Overall, the changes look good to me, but could you look into the CI errors? |
I'm done. If you need any more adjustments, please feel free to contact me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you; LGTM
close #295